package com.song.ssm.service;

import com.github.pagehelper.PageInfo;
import com.song.ssm.pojo.User;

import java.util.List;

/**
 * @Author 宋伟宁
 * @Date 2023/10/11
 * @Version 1.0
 **/
public interface IUserService {

    List<User> findAll();

    boolean save(User user);

    boolean delete(int id);

    PageInfo<User> pageUsers(int offset,int pagesize);

    boolean update(User user);

    boolean batch_del(String ids);
}
